Post

Replies

Boosts

Views

Activity

Comment on How can I make my multi-window Catalyst app restore window size and position after closing with stoplight button?
I read through those docs and tried the sample app, but it's all about restoring view controller state. That already works - I can open various windows, quit the app, relaunch it, and they come back as they were, via NSUserActivity. My question is about how to make macOS understand that for one particular window type (meaning one particular UISceneConfiguration), when the window is closed using the stoplight button and reopened, it should be restored, not recreated from scratch.
2w
Comment on What is ChronoKit.InteractiveWidgetActionRunner.Errors Code 1?
Also, widgetUrl does not appear to work. I tweaked my sample app code to: Make LaunchAppIntent inherit from AppIntent and have a perform method that just returns .result() Add .widgetURL(URL(string: "otcontrolwidget://test")!) on the Image` in the control itself And tapping the control now does nothing. I'm using .widgetUrl on other widgets, but it doesn't appear to work with Control Center widget buttons.
Sep ’24